package com.feibiao.computer;
import java.util.Scanner;
public class Dao implements Compute {
	private double result;
	@Override
	public double compute() {
		double operand;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入运算数");
		operand = scanner.nextDouble();
		result = 1 / operand;
		return result;
	}
}
